package com.room.search.service.mapper;

import com.room.search.domain.RoomGoods;
import com.room.search.service.dto.AddRoomGoodsDTO;
import com.room.search.service.dto.RoomGoodsDTO;
import org.mapstruct.*;

/**
 * Mapper for the entity {@link RoomGoods} and its DTO {@link RoomGoodsDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface RoomGoodsMapper extends EntityMapper<RoomGoodsDTO, RoomGoods> {


    @Mapping(target = "rentBasic", ignore = true)
    RoomGoods toRoomGoodsByAddRoomDTO(AddRoomGoodsDTO dto);
}
